i have found a functioning period 8 solution, but unfortunately it is very slightly slower than this one due to latency. maybe period 10 is the sweet spot? or maybe there's still better latency solution at a lower period